//
//  PostiesController.m
//  Posties
//
//  Created by Christine Lu on 11/8/11.
//  Copyright 2011 UC Berkeley. All rights reserved.
//

#import "PostiesController.h"


@implementation PostiesController

@synthesize _ourModel;
@synthesize _ourView;

- (id)initWithWindowNibName:(NSString *)windowNibName
{
    self = [super initWithWindowNibName:windowNibName];
    if ( self )
    {
        [self showWindow:nil];
    }
    return self;
}

- (void)windowDidLoad
{
    [super windowDidLoad];
	NSColor* defaultColor = [NSColor yellowColor];
	[_ourView setBackgroundColor:defaultColor];
	[_ourView setNeedsDisplay:YES];
}

-(void)redrawWindow
{
    [_ourView setNeedsDisplay:YES];
}

@end
